<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2015/8/20
 * Time: 4:39
 */

namespace app\models;
use Yii;
use yii\db\ActiveRecord;

class Music  extends ActiveRecord {
    public $id;
    public $name;
    public $music;


    public static function tableName()
    {
        return 'music';
    }

    public function rules()
    {
        return [[["music"],"required",],];

    }

}